package com.prs.crm.dao.purchase.impl;

import java.io.Serializable;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.purchase.InquiryDao;
import com.prs.crm.domain.purchase.Inquiry;
import com.prs.crm.domain.stock.ProductStore;

/**
 * @author zhang
 * @version 2010-5-18 下午02:11:05
 */

public class InquiryDaoImpl extends BaseDaoImpl<Inquiry> implements InquiryDao {

	@Override
	public Inquiry getInquiry(Serializable id) {
		return this.getHibernateTemplate().get(Inquiry.class, id);
	}

	@Override
	public void SaveOrUpdate(Inquiry inquiry) {
		this.getHibernateTemplate().saveOrUpdate(inquiry);
	}

}
